package com.common.entity;

import java.util.List;
import java.util.Map;

/**
 * 面向数据库层
 */
public class CMethod {

    /**
     * 方法名称
     */
    private String methodName;


    /**
     * 方法参数：分别为参数名称，参数类型，参数类型全路径
     */
    private List<Map<String, Map<String, String>>> param;

    /**
     * 返回值
     */
    private Map<String, String> returnType;

    /**
     * 方法体
     */
    public String body;

    /**
     * 方法上的注释
     */
    private Map<String,Map<String,String>> annotations;

    public Map<String, Map<String, String>> getAnnotations() {
        return annotations;
    }

    public void setAnnotations(Map<String, Map<String, String>> annotations) {
        this.annotations = annotations;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public List<Map<String, Map<String, String>>> getParam() {
        return param;
    }

    public void setParam(List<Map<String, Map<String, String>>> param) {
        this.param = param;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public Map<String, String> getReturnType() {
        return returnType;
    }

    public void setReturnType(Map<String, String> returnType) {
        this.returnType = returnType;
    }
}
